<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 引入ElementUI样式 -->
    <link rel="stylesheet" href="elementui/index.css">
    <style>
        .el-dropdown-link {
            cursor: pointer;
            color: #409EFF;
        }
        .el-icon-arrow-down {
            font-size: 12px;
        }
    </style>
</head>
<body>
<div id="app">
    <!--trigger:触发器,参数click：通过点击事件触发-->
    <el-dropdown split-button trigger="click">
                <span class="el-dropdown-link">
                    下拉菜单<!--<i class="el-icon-arrow-down"></i>-->
                </span>
        <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>退出系统</el-dropdown-item>
            <el-dropdown-item disabled>修改密码</el-dropdown-item>
            <el-dropdown-item divided>联系管理员</el-dropdown-item>
        </el-dropdown-menu>
    </el-dropdown>
</div>
</body>
<!--引入vue.js-->
<script src="js/vue.js"></script>
<!-- 引入ElementUI组件库 -->
<script src="elementui/index.js"></script>
<script>
    /*创建vue实例*/
    new Vue({
        el:'#app',
        data:{
            //数据
        }
    })
</script>
</html>